package com.funcablaze.listener;

public class Input {
	/**
	 * 窗口监听器
	 */
	public static class WindowListener {
		
		public OnClose onClose;
		public OnMaximize onMaximize;
		public OnMinimize onMinimize;
		public OnFocus onFocus;
		
		/**
		 * 窗口动作：关闭
		 */
		public interface OnClose {
			void onClose();
		}
		
		/**
		 * 窗口动作：最大化
		 */
		public interface OnMaximize {
			void onMaximize(boolean maximized);
		}
		
		/**
		 * 窗口动作：最小化
		 */
		public interface OnMinimize {
			void onMinimize(boolean minimized);
		}
		
		/**
		 * 窗口动作：焦点变得
		 */
		public interface OnFocus {
			void onFocus(boolean focus);
		}
	}
}
